"""
主路由
处理首页和通用页面
"""
from flask import Blueprint, render_template, request, jsonify

main_bp = Blueprint('main', __name__)


@main_bp.route('/')
def index():
    """首页"""
    return render_template('index.html')


@main_bp.route('/about')
def about():
    """关于页面"""
    return render_template('about.html')


@main_bp.route('/help')
def help():
    """帮助页面"""
    return render_template('help.html')

